.speech-to-text-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.transcript-box {
  min-height: 150px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
  line-height: 1.6;
  font-size: 16px;
  white-space: pre-wrap;
}

.placeholder {
  color: #999;
  font-style: italic;
}

.controls {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.control-button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background-color: #4285f4;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-button:hover {
  background-color: #3367d6;
}

.control-button.active {
  background-color: #ea4335;
}

.control-button.reset {
  background-color: #fbbc05;
}

.control-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.error-message {
  color: #d32f2f;
  background-color: #ffebee;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
}

.status {
  height: 24px;
}

.listening-indicator {
  display: flex;
  align-items: center;
  color: #34a853;
  font-size: 14px;
}

.pulse-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #34a853;
  margin-right: 8px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(52, 168, 83, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 168, 83, 0);
  }
}

.unsupported-message {
  color: #ea4335;
  padding: 15px;
  border: 1px solid #ea4335;
  border-radius: 6px;
  background-color: #fce8e6;
  text-align: center;
}